<!-- sidebar -->
<div id="sidebar-nav">
    <ul id="dashboard-menu">

        <volist name="menu" id="m">
            <li class="{$m.active}">

                <if condition="$m.active eq 'active'" >
                    <div class="pointer">
                        <div class="arrow"></div>
                        <div class="arrow_border"></div>
                    </div>
                </if>

                <a <if condition="$m.child neq ''" >class="dropdown-toggle"</if>  href="{$m.url}">
                    <i class="{$m.icon}"></i>
                    <span>{$m.text}</span>
                    <if condition="$m.child neq ''">
                        <i class="icon-chevron-down"></i>
                    </if>
                </a>

                <if condition="$m.child neq ''">
                    <ul class="{$m.active} submenu">
                        <volist name="m.child" id="c">
                            <li><a href="{$c.url}" class="{$c.active}">{$c.text}</a></li>
                        </volist>
                    </ul>
                </if>
            </li>
        </volist>

    </ul>
</div>
<!-- end sidebar -->